QuaternaryDictionary.Remove(TKey) method¶
Defined in
Type: QuaternaryDictionaryReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public bool Remove(TKey key) -
public bool Remove(KeyValuePair<TKey, TValue> item)
1. Overload¶
public bool Remove(TKey key)
View source (opens in a new tab)
Summary: Removes the value with the specified key from the collection.
Parameters
| Name | Type | Description |
|---|---|---|
key | TKey | The key of the element to remove. |
Returns: bool (opens in a new tab) -- true if the element was removed; otherwise, false.
2. Overload¶
public bool Remove(KeyValuePair<TKey, TValue> item)
View source (opens in a new tab)
Summary: Removes the specified key/value pair from the collection.
Parameters
| Name | Type | Description |
|---|---|---|
item | KeyValuePair | The key/value pair to remove. |
Returns: bool (opens in a new tab) -- true if removed; otherwise, false.
Remarks
The pair is removed only when the stored value equals item's value; the check and removal are atomic.